package DMSXL._2023Before.String_;

/*public class reverseString_ {
    public static void main(String[] args) {
        char[] s = {'h','e','l','l','o'};
        Solution solution = new Solution();
        solution.reverseString(s);
        for (int i = 0; i < s.length; i++) {
            System.out.print(s[i]);
        }
    }
}
class Solution {
    public void reverseString(char[] s) {
        int k = s.length - 1;
        for (int i = 0; i < s.length / 2; i++,k--) {
            char temp = s[i];
            s[i] = s[k];
            s[k] = temp;
        }
    }
}*/